package cn.tedu.extendsx;

public class Bird extends Animal{
    private int cbNums;//翅膀的个数

    public int getCbNums() {
        return cbNums;
    }

    public void setCbNums(int cbNums) {
        this.cbNums = cbNums;
    }

    //飞
    public void fly(){
        System.out.println("鸟儿飞飞~~");
    }
}
